package com.demo.domain;

import java.io.File;

public class MailBean {

        private File[] files;
        private String host;
        private String protocol;
        private Boolean auth;
        private String userName;
        private String password;
        private String fromUser;
        private String toUser;
        private String titel;
        private String content;
        private Integer type;

        public Integer getType() {
            return type;
        }

        public MailBean setType(Integer type) {
            this.type = type;
            return this;
        }

        public File[] getFiles() {
            return files;
        }

        public MailBean setFiles(File[] files) {
            this.files = files;
            return this;
        }

        public String getHost() {
            return host;
        }

        public MailBean setHost(String host) {
            this.host = host;
            return this;
        }

        public String getProtocol() {
            return protocol;
        }

        public MailBean setProtocol(String protocol) {
            this.protocol = protocol;
            return this;
        }

        public Boolean getAuth() {
            return auth;
        }

        public MailBean setAuth(Boolean auth) {
            this.auth = auth;
            return this;
        }

        public String getUserName() {
            return userName;
        }

        public MailBean setUserName(String userName) {
            this.userName = userName;
            return this;
        }

        public String getPassword() {
            return password;
        }

        public MailBean setPassword(String password) {
            this.password = password;
            return this;
        }

        public String getFromUser() {
            return fromUser;
        }

        public MailBean setFromUser(String fromUser) {
            this.fromUser = fromUser;
            return this;
        }

        public String getToUser() {
            return toUser;
        }

        public MailBean setToUser(String toUser) {
            this.toUser = toUser;
            return this;
        }

        public String getTitel() {
            return titel;
        }

        public MailBean setTitel(String titel) {
            this.titel = titel;
            return this;
        }

        public String getContent() {
            return content;
        }

        public MailBean setContent(String content) {
            this.content = content;
            return this;
        }

}
